package bma.common.langutil.objectquery;

import org.springframework.beans.factory.annotation.Qualifier;

public class OQObject1 {

	private int id;

	private String name;

	private int object2Id;

	@OQKey(alias="id,pk")
	public int getId() {
		return id;
	}

	public int getSid() {
		return (int) System.currentTimeMillis();
	}
	
	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@OQKey(type = "o2")
	public int getObject2Id() {
		return object2Id;
	}

	public void setObject2Id(int object2Id) {
		this.object2Id = object2Id;
	}
	
	@OQKey(type="olist")
	public int getTeams() {
		return 5;
	}

}
